/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */

package storage.dbobject;

import java.util.ArrayList;
import java.util.UUID;
/**
 * 
 * @author fenyo rome
 *
 */
public class DbActivityAbstractRule {
	/**
	 * cl_key
	 */
	public static final String CL_KEY = "KEY";
	private String rowKey;
	/**
	 * cl_name
	 */
	public static final String CL_NAME = "name";
	private String name;
	/**
	 * cl_activityAbstractRule
	 */
	public static final String CL_ACTIVITYABSTRACTRULE = "abstractRule";
	private ArrayList<String> abstractRuleList;
	/**
	 * cl_createTime
	 */
	public static final String CL_CREATETIME = "createTime";
	private String createTime;
	/**
	 * cl_product
	 */
	public static final String CL_PRODUCT = "product";
	private String product;
	/**
	 * cl_tagList
	 */
	public static final String CL_TAGLIST = "taglist";
	private String taglist;
	/**
	 * 
	 * @param rowKey
	 * rowKey
	 * @param name
	 * name
	 * @param product
	 * product
	 * @param taglist
	 * taglist
	 * @param abstractRuleList
	 * abstractRuleList
	 * @param createTime
	 * createTime
	 */
	public DbActivityAbstractRule(String rowKey, String name, String product,
			String taglist, ArrayList<String> abstractRuleList,
			String createTime) {
		this.rowKey = rowKey;
		this.createTime = createTime;
		this.name = name;
		this.abstractRuleList = abstractRuleList;
		this.product = product;
		this.taglist = taglist;
	}
/**
 * 
 * @param name
 * name
 * @param product
 * product
 * @param taglist
 * product
 * @param abstractRuleList
 * abstractRuleList
 * @param createTime
 * createTime
 */
	public DbActivityAbstractRule(String name, String product, String taglist,
			ArrayList<String> abstractRuleList, String createTime) {
		this.rowKey = UUID.randomUUID().toString();
		this.createTime = createTime;
		this.name = name;
		this.abstractRuleList = abstractRuleList;
		this.product = product;
		this.taglist = taglist;
	}

	/**
	 * @return the rowKey
	 */
	public String getRowKey() {
		return rowKey;
	}

	/**
	 * @param rowKey
	 *            the rowKey to set
	 */
	public void setRowKey(String rowKey) {
		this.rowKey = rowKey;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the createTime
	 */
	public String getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the product
	 */
	public String getProduct() {
		return product;
	}

	/**
	 * @param product
	 *            the product to set
	 */
	public void setProduct(String product) {
		this.product = product;
	}

	/**
	 * @return the taglist
	 */
	public String getTaglist() {
		return taglist;
	}

	/**
	 * @param taglist
	 *            the taglist to set
	 */
	public void setTaglist(String taglist) {
		this.taglist = taglist;
	}

	/**
	 * @return the abstractRuleList
	 */
	public ArrayList<String> getAbstractRuleList() {
		return abstractRuleList;
	}

	/**
	 * @param abstractRuleList
	 *            the abstractRuleList to set
	 */
	public void setAbstractRuleList(ArrayList<String> abstractRuleList) {
		this.abstractRuleList = abstractRuleList;
	}

}